package com.tools.entity;

import java.util.HashMap;
import java.util.Map;

/**
 * Service的实体类
 *
 * @author < a href=" ">ZhangYang</ a>
 * @version v1.0.01
 * @date 2018-08-24 16:18:19
 */
public class ServiceContent {
  /** Service类的包名 */
  private String classPackage;
  /** Service类的类型 */
  private String className;
  /** Service类的属性 */
  private Map<String, Object> item = new HashMap<>();

  /**
   * 初始化
   */
  public ServiceContent() {
    super();
  }

  /**
   * 通过包名与类名初始化
   *
   * @param classPackage
   * @param className
   */
  public ServiceContent(String classPackage, String className) {
    super();
    this.classPackage = classPackage;
    this.className = className;
  }



  public String getClassPackage() {
    return classPackage;
  }

  public void setClassPackage(String classPackage) {
    this.classPackage = classPackage;
  }

  public String getClassName() {
    return className;
  }

  public void setClassName(String className) {
    this.className = className;
  }

  public Map<String, Object> getItem() {
    return item;
  }

  public void setItem(Map<String, Object> item) {
    this.item = item;
  }

  @Override
  public String toString() {
    return "ServiceContent [classPackage=" + classPackage + ", className=" + className + ", item=" + item + "]";
  }

}
